﻿using CommunityToolkit.Mvvm.ComponentModel;
using RobotPratolSolution.Models;
using System.Collections.ObjectModel;

namespace RobotPratolSolution.ViewModels
{
    public class RobotBaseInfoViewModel : ObservableObject
    {
        public ObservableCollection<OverlaysLineInfo> MapTaskList { get; set; }


        public RobotBaseInfoViewModel()
        {
            MapTaskList = new ObservableCollection<OverlaysLineInfo>();
        }
        double _PointX;
        public double PointX
        {
            get { return _PointX; }
            set
            {

                _PointX = value; OnPropertyChanged();
            
        }
        }
        double _PointY;
        public double PointY
        {
            get { return _PointY; }
            set
            {
                 _PointY = value; OnPropertyChanged();
            }
        }

        //string _SelectedTaskName;
        //public string SelectedTaskName
        //{
        //    get { return _SelectedTaskName; }
        //    set
        //    {
        //        Set(ref _SelectedTaskName, value);

        //    }
        //}
    }
}
